#ifndef ANIMAL_H
#define ANIMAL_H
enum Gender{male = 1, female = 0};
class Animal
{
	protected:
		int age;
		int ageLimit;
		Gender gen;
	public:
		void setAge(int x);
		bool addAge(int x);
		void setGender(Gender x);
		int getAge(void) const;
		Gender getGender(void) const;
		bool isMale(void) const;
		bool isFemale(void) const;
		virtual void print(void) = 0;
		virtual Animal* giveBirth(void) = 0;
};
#endif
